#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

template<class T>
void Swap(T& a, T& b)
{
	T tmp = a;
	a = b;
	b = tmp;
}

int main()
{
	//int* a = new int;
	//delete a;

	int a = 1;
	int b = 2;
	Swap(a, b);
	//Swap(1.1, 2.2);
	return 0;
}